import { createRouter, createWebHistory } from 'vue-router'
import HomePage from '@/views/HomePage.vue'
import VehicleDetection from '@/views/VehicleDetection.vue'
import PlateRecognition from '@/views/PlateRecognition.vue'
import CombinedDetection from "@/views/CombinedDetection.vue";

const routes = [
    {
        path: '/',
        name: 'home',
        component: HomePage
    },
    {
        path: '/vehicle-detection',
        name: 'vehicle-detection',
        component: VehicleDetection
    },
    {
        path: '/plate-recognition',
        name: 'plate-recognition',
        component: PlateRecognition
    },
    {
        path: '/combined-detection',
        name: 'combined-detection',
        component: CombinedDetection
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router